package com.tiger.cloud.form;

import com.tiger.cloud.enums.UserWeChatEnum;
import io.swagger.annotations.ApiModelProperty;

public class UserLoginForm {

	private String phone; 
	private String loginId; 
	private String verifCode; 
	private String password; 
	private String oldPassword; 
	//客户端UID
	private String loginUID;
	//客户端UID
	private String qrCode;
	/**
	 * jpush交换标识
	 */
	private String jpushCode;
	/**
     * 浏览器
     */
    private String browser;
    /**
     * 机器编号
     */
    private String macUid;
    /**
     * ip
     */
    private String ip;
	/**
	 * 微信传过来的参数
	 * code 用于获取openid
	 * state  跳转页面
	 *
	 */
	@ApiModelProperty(value = "微信Code")
	private String code;
	@ApiModelProperty(value = "跳转页面参数")
	private String state;
	@ApiModelProperty(value = "是否绑定用户微信: 0，是；1，否")
	private int isBind = UserWeChatEnum.NOBIND.getCode();
	@ApiModelProperty(value = "微信用户OPENID")
	private String openId;
	
	public String getOldPassword() {
		return oldPassword;
	}
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getBrowser() {
		return browser;
	}
	public void setBrowser(String browser) {
		this.browser = browser;
	}
	public String getMacUid() {
		return macUid;
	}
	public void setMacUid(String macUid) {
		this.macUid = macUid;
	}
	public String getJpushCode() {
		return jpushCode;
	}
	public void setJpushCode(String jpushCode) {
		this.jpushCode = jpushCode;
	}
	public String getQrCode() {
		return qrCode;
	}
	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getVerifCode() {
		return verifCode;
	}
	public void setVerifCode(String verifCode) {
		this.verifCode = verifCode;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	 
	public String getLoginUID() {
		return loginUID;
	}
	public void setLoginUID(String loginUID) {
		this.loginUID = loginUID;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getIsBind() {
		return isBind;
	}

	public void setIsBind(int isBind) {
		this.isBind = isBind;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}
	@Override
	public String toString() {
		return "UserLoginForm [phone=" + phone + ", loginId=" + loginId + ", verifCode=" + verifCode + ", password="
				+ password + ", oldPassword=" + oldPassword + ", loginUID=" + loginUID + ", qrCode=" + qrCode
				+ ", jpushCode=" + jpushCode + ", browser=" + browser + ", macUid=" + macUid + ", ip=" + ip + ", code="
				+ code + ", state=" + state + ", isBind=" + isBind + ", openId=" + openId + "]";
	}
	
}
